package com.zsm.eblog.mapper;

import com.zsm.eblog.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Author : ZSM
 * Time :  2024/08/18
 */
@Mapper
public interface UserMapper {
    @Select("""
                    select * from users where username = #{username};
            """)
    User select(User user);
}
